package com.edu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.servlet.resource.ResourceUrlProvider;

/**
 * @作者 five-five
 * @创建时间 2021/1/19
 */
@SpringBootApplication
@ImportResource(value = {"classpath:spring/*.xml"})
@EnableDiscoveryClient
public class EurekaClientMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaClientMainApplication.class, args);
    }
}

